﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Cj_Activity:NFinal.Struct
    {
		public System.Int32? id {get;set;}
		public System.String title {get;set;}
		public System.Int32? type {get;set;}
		public System.Int32? cj_times {get;set;}
		public System.DateTime? start_time {get;set;}
		public System.DateTime? end_time {get;set;}
		public System.String context {get;set;}
		public System.Int32? guanzhu {get;set;}
		public System.String share_logo {get;set;}
		public System.String share_title {get;set;}
		public System.String share_desc {get;set;}
		public System.Int32? share_times {get;set;}
		public System.DateTime? add_time {get;set;}
		public System.Int32? status {get;set;}
		public System.String memoa {get;set;}
		public System.String memob {get;set;}
		public System.String memoc {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"id\":");
					tw.Write(id==null?"null" : id.ToString());
					tw.Write(",");
					tw.Write("\"title\":");
					tw.Write("\"");
					tw.Write(title==null?"null":title);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"type\":");
					tw.Write(type==null?"null" : type.ToString());
					tw.Write(",");
					tw.Write("\"cj_times\":");
					tw.Write(cj_times==null?"null" : cj_times.ToString());
					tw.Write(",");
					tw.Write("\"start_time\":");
					tw.Write("\"");
					tw.Write(start_time==null?"null":start_time.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"end_time\":");
					tw.Write("\"");
					tw.Write(end_time==null?"null":end_time.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"context\":");
					tw.Write("\"");
					tw.Write(context==null?"null":context);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"guanzhu\":");
					tw.Write(guanzhu==null?"null" : guanzhu.ToString());
					tw.Write(",");
					tw.Write("\"share_logo\":");
					tw.Write("\"");
					tw.Write(share_logo==null?"null":share_logo);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"share_title\":");
					tw.Write("\"");
					tw.Write(share_title==null?"null":share_title);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"share_desc\":");
					tw.Write("\"");
					tw.Write(share_desc==null?"null":share_desc);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"share_times\":");
					tw.Write(share_times==null?"null" : share_times.ToString());
					tw.Write(",");
					tw.Write("\"add_time\":");
					tw.Write("\"");
					tw.Write(add_time==null?"null":add_time.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"status\":");
					tw.Write(status==null?"null" : status.ToString());
					tw.Write(",");
					tw.Write("\"memoa\":");
					tw.Write("\"");
					tw.Write(memoa==null?"null":memoa);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memob\":");
					tw.Write("\"");
					tw.Write(memob==null?"null":memob);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memoc\":");
					tw.Write("\"");
					tw.Write(memoc==null?"null":memoc);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
